 
let zepto = require('../common/lib/zepto.min.js')
let SWIPER = require('./lib/swiper-3.4.2.jquery.min.js')
window.Vue = require('./lib/vue.min.js')

window.utils = require('../common/util.js')


module.exports = {
	init: function(){
		this.initRem();
	},
	//	rem布局
	initRem: function(){
		function setFontsize(){
			var wiw=$(window).width(),
		    	wih=$(window).height(),
		    	fz = (wiw/750);
		    $('html').css('font-size', fz*100);
		}
		function load(){
			setFontsize();
			$(window).on('resize',function(){
				setTimeout(function(){setFontsize()},50);
			})
		}
		setFontsize();
		load()
	}
}

